package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class GetHeaderInformation {

    private int beginIndex;
    private int endIndex;
    private SimpleTargetSpecification simpleTargetSpecification1;
    private HeaderItemName headerItemName;

    public GetHeaderInformation(SimpleTargetSpecification simpleTargetSpecification1,
                                HeaderItemName headerItemName) {
        this.beginIndex = simpleTargetSpecification1.getBeginIndex();
        this.endIndex = headerItemName.getEndIndex();
        this.simpleTargetSpecification1 = simpleTargetSpecification1;
        this.headerItemName = headerItemName;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public SimpleTargetSpecification getSimpleTargetSpecification1() {
        return simpleTargetSpecification1;
    }

    public HeaderItemName getHeaderItemName() {
        return headerItemName;
    }

}
